package com.hr.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.*;
import java.util.Date;

/*
    Created with IntelliJ IDEA.
    @author: wang sir
    Date: 2021/7/19
    Time: 10:57
    To change this template use File | Settings | File Templates.
    Description: 
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Table(name = "comments")
@Entity
public class Comments {

   @Id
   @GeneratedValue(strategy = GenerationType.IDENTITY)
   private Long cid;
   private Date ccreateDate;
   private String ccontent;
   private Long cnid;
   private String cauthor;
   private String cip;


}